package org.giovanolli.mumi.dao.impl;

import org.giovanolli.mumi.dao.PatientThreatmentDao;
import org.giovanolli.mumi.entities.PatientThreatment;
import org.giovanolli.mumi.entities.filter.EntityFilter;
import org.giovanolli.mumi.entities.filter.PatientThreatmentFilter;
import org.hibernate.criterion.DetachedCriteria;
import org.springframework.stereotype.Repository;

/**
 * The Class PatientThreatmentDaoImpl.
 */
@Repository("patientThreatmentDao")
public class PatientThreatmentDaoImpl extends HibernateDao<PatientThreatment> implements PatientThreatmentDao {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.giovanolli.mumi.dao.impl.HibernateDao#fillCriteria(org.giovanolli .mumi.entities.filter.EntityFilter, org.hibernate.criterion.DetachedCriteria)
	 */
	@Override
	protected DetachedCriteria fillCriteria(EntityFilter<PatientThreatment> filter, DetachedCriteria criteria) {
		final PatientThreatmentFilter entityFilter = (PatientThreatmentFilter) filter;

		if (filter != null) {

		}
		return criteria;
	}

}
